﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class StockInfo3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnSearch_Click(object sender, EventArgs e)
    {
        users us = new users();
        us.id = txtSearch.Text.Trim();
        us.name = txtSearch.Text.Trim();
        GVmerch1.DataSource = us.GetOneUsers2(us);
        GVmerch1.DataBind();
        GVmerch1.Visible = true;
    }
}